package com.fr.report.web.ui.container;

import com.fr.base.core.json.JSONException;
import com.fr.base.core.json.JSONObject;
import com.fr.report.web.ui.layout.Layout;
import com.fr.web.Repository;

public class Panel extends Container
{
  public Panel()
  {
  }

  public Panel(String paramString)
  {
    setWidgetName(paramString);
  }

  public Panel(Layout paramLayout)
  {
    setLayout(paramLayout);
  }

  public JSONObject createJSONConfig(Object paramObject, Repository paramRepository)
    throws JSONException
  {
    return this.layout.createJSONConfig(paramObject, paramRepository);
  }

  public String getXType()
  {
    return this.layout.getXType();
  }
}